parse string to an array in Kotlin

visit shbcf.ru